<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
      
   		
		

<body bgcolor="#ffffff">
<table style="border:1px solid #CAD6E0"  align="center" cellpadding="0" cellspacing="0" border="0" width="400">
<tbody>

	<tr>
		<td class="header" height="42" align="center" valign="middle" width="100%" bgcolor="#E4EBEB">
			<ui:insert name="pageHeader">Ingreso al Sistema</ui:insert>
		</td>
	</tr>
	<tr>
		<td height="1" width="100%" bgcolor="#CAD6E0"></td>
	</tr>	

	<tr>
		<td width="100%"  colspan="2">
			<table width="100%" style="height:150px" align="left" cellpadding="0" cellspacing="0" border="0">
			<tbody>
				<tr>
					<td align="center" width="100%" valign="middle">
					<h:form>
						<h:panelGrid columns="3" >
						 <h:outputLabel id="lblUser" value="Usuario"/>
						 <h:inputText id="intUser" value="#{inicioController.nombreUsuario}" required="true" requiredMessage="El usuario es obligatorio"/>
						 </h:panelGrid>
						 <h:outputLabel id="lblPsw" value="Clave"/>
						 <h:inputSecret id="insPsw" value="#{inicioController.clave}" required="true" requiredMessage="La clave es obligatorio"/>
						<h:panelGrid columns="3" >
						 <h:commandButton id="cbtnIngresar" value="Ingresar" action="#{inicioController.login}"/>
						</h:panelGrid>
					</h:form>
					</td>
				</tr>
			</tbody>
			</table>
		</td>
	</tr>	
	
	<tr>
		<td colspan="2"  valign="bottom" height="1" width="100%" bgcolor="#CAD6E0"></td>
	</tr>
</tbody>
</table>
</body>
		
</html>